package com.ruoyi.system.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜品口味关系对象 food_spec
 * 
 * @author Wxl
 * @date 2022-03-24
 */
@Data
public class FoodSpec extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type= IdType.AUTO)
    private Long id;

    /** 父ID */
    @Excel(name = "父ID")
    private Long specParent;

    /** 菜品 */
    @Excel(name = "菜品")
    private Long foodId;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String name;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal price;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal oldPrice;

    /** 是否选择 */
    @Excel(name = "是否选择")
    private Integer selectFlag;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDeleted;


}
